package cn.hiapi.admin.query;

import cn.hiapi.basic.jpa.pageable.QueryWrapper;
import cn.hiapi.basic.jpa.query.BasicQuery;
import lombok.Getter;
import lombok.Setter;

/**
 * @author AdinZ
 * @date 2023/2/5 0:18
 */
@Setter
@Getter
public class ActivityHomeAdQuery extends BasicQuery {

    private Integer status;

    @Override
    public QueryWrapper getQueryWrapper() {
        QueryWrapper wrapper = super.getBasicQueryWrapper();
        wrapper.eq("status", status);
        return wrapper;
    }
}
